package com.zzyl.mapper;

import com.github.pagehelper.Page;


import com.zzyl.entity.NursingLevel;
import com.zzyl.vo.NursingLevelVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**

 * @Author: Learner

 * @Version: 1.0
 */
@Mapper
public interface NursingLevelMapper {

    List<NursingLevelVo> getListAll();

    void addNursingLevel(NursingLevel nursingLevel);


    Page<NursingLevelVo> listByPage(String name, Integer status);

    NursingLevelVo getById(long id);

    void updateNursringLevel(NursingLevel nursingLevel);

    void delById(long id);

    void updateStatus(long id, Integer status);
}
